module.exports = {
  base: '/blog/',
  plugins: ['demo-container-v2'],
  themeConfig: {
    sidebar: 'auto',
    repo: 'https://gitee.com/a949066041/blog',
    repoLabel: 'Gitee',
    nav: [
      { text: '首页', link: '/main/' },
      { text: 'vue源码', link: '/vueCode/' },
      { text: '工具依赖', link: '/toolsDep/' },
      { text: '组件库', link: '/components/'}
    ],
    sidebar: {
      '/main': [
        {
          title: '准备工作',
          collapsable: false,
          children: [
            ['main/', 'Introduction'],
            'main/brower',
            'main/vue',
            'main/jquery',
            'main/css',
            'main/utils',
            'main/components',
            'main/js',
            'main/react'
          ]
        }
      ],
      '/vueCode': [
        {
          title: '源码',
          children: [
            ['vueCode/', 'Introduction'],
            'vueCode/test'
          ]
        }
      ],
      '/components': [
        {
          title: '组件库',
          collapsable: false,
          children: [
            ['components/', 'Introduction'],
            'components/components',
            'components/mixins',
            'components/example',
            'components/high',
            'components/specification',
            'components/dr',
            'components/hf'
          ]
        }
      ]
    }
  }
}